using System.Collections.Generic;

namespace ColladaDotNet.OpenTKMapping
{
	public class ConvexMesh : Geometry
	{
		public ConvexMesh()
		{
			
		}
		internal override void Load(geometry geometry)
		{
			base.Load(geometry);
			Load((convex_mesh)geometry.Item);
		}
		List<MeshItem> items = new List<MeshItem>();
		public void Load(convex_mesh data)
		{
			foreach (var item in data.Items)
			{
				items.Add(Document.CreateElement<MeshItem>(item));
			}
		}
	}
}